package com.fingdo.statelayoutdemo;

import android.content.Intent;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import android.view.View;

public class MainActivity extends AppCompatActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    public void global(View view) {
        startActivity(new Intent(view.getContext(), GlobalActivity.class));
    }

    public void inner(View view) {
        startActivity(new Intent(view.getContext(), InnerActivity.class));
    }
}
